﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace DM.Change
{
  public  interface IChange
    {

      /// <summary>
      /// Add and save 
      /// </summary>
      /// <param name="Target"></param>
      /// <param name="ChangeValue"></param>
      /// <returns></returns>
       int SaveChange(object Target, List<ChangeValueModel> ChangeValue,string memo);

      /// <summary>
      /// 
      /// </summary>
      /// <param name="Target"></param>
      /// <param name="ChangeValue"></param>
      /// <returns></returns>
       int AddToChange(object Target, List<ChangeValueModel> ChangeValue, string memo);

      /// <summary>
      /// Save Target Temp
      /// </summary>
      /// <param name="Target"></param>
      /// <returns></returns>
       int SaveChange(object Target, string memo);

      /// <summary>
      /// Save All Temp
      /// </summary>
      /// <returns></returns>
       int SaveChange(string memo);

    }
}
